package com.example.gyt.dao;

import com.example.gyt.pojo.Commodity;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommodityMapper {
    int deleteByPrimaryKey(String id);

    int insert(Commodity record);

    int insertSelective(Commodity record);

    Commodity selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Commodity record);

    int updateByPrimaryKey(Commodity record);

    List<Commodity> getAllCommodityList(Commodity record);

    int queryCountLike(Commodity record);
}